//
//  ContributionBaseViewController.swift
//  SmartHousekeeper
//
//  Created by 张磊 on 2020/2/21.
//  Copyright © 2020 LS. All rights reserved.
//

import UIKit
//缴费base
class ContributionBaseViewController: UIViewController {
    
    let baseView = BaseContributionView()
    override func viewWillAppear(_ animated: Bool) {
        super.viewWillAppear(animated)
        self.navigationController?.navigationBar.isHidden = true;
        
    }
    override func viewDidLoad() {
        super.viewDidLoad()
        
        setUI()
        
    }
    private func setUI(){
        self.view.addSubview(baseView)
        baseView.backBlock = {
            self.navigationController?.popViewController(animated: true)
        }
        baseView.rightBlock = {
            
            self.rightBtnAction()
        }
        baseView.snp.makeConstraints { (make) in
            make.edges.equalToSuperview()
        }
    }
    
    func rightBtnAction() {
        
    }
    
}
